package com.spark.tags;

import com.spark.core.SparkContext;
import com.spark.core.XMap;

public class PassWord extends TextField {
	
	public static String DEFAULT_INPUT_TYPE = "password";
	public static String DETECT_CAPS_LOCK = "detectCapsLock";
	
	public void init(XMap view, SparkContext context) throws Exception{
		super.init(view, context);
		context.addJsonConfig(DETECT_CAPS_LOCK,true);		
		context.put(INPUT_TYPE, DEFAULT_INPUT_TYPE);
	}
}
